<?xml version="1.0" encoding="iso-8859-1"?><!-- DWXMLSource="GradeChangeForm.xml" -->
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;">
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
    <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
                <title>Grade Change Form</title>
                <link href="GradeChangeForm.css" rel="stylesheet" type="text/css" />
            </head>
            <body>
                <div style="float:left; text-align:center; width:500px;">
                    <h4>Grade Change Form For All</h4>
                </div>
                <form name ="frmWorksheet">
                    <div style="clear:both; padding:20px;"></div>
                    <div class="leftColumn">
                        <table class="stdTable">
                            <tr>
                                <td class="bolded">Campus:</td>
                                <td class="bolded">
                                    <xsl:variable name="Campus">
                                        <xsl:value-of select="normalize-space(/page/userData/hdnCampus)"/>
                                    </xsl:variable>
                                    <xsl:element name="input">
                                        <xsl:attribute name="name">hdnCampus</xsl:attribute>
                                        <xsl:attribute name="id">hdnCampus</xsl:attribute>
                                        <xsl:attribute name="type">hidden</xsl:attribute>
                                        <xsl:attribute name="value">
                                            <xsl:value-of select="/page/userData/hdnCampus"/>
                                        </xsl:attribute>
                                    </xsl:element>
                                    <xsl:element name="select">
                                        <xsl:attribute name="name">ddlCampus</xsl:attribute>
                                        <xsl:attribute name="id">ddlCampus</xsl:attribute>
                                        <xsl:attribute name="onchange">hdnCampus.value = this.value</xsl:attribute>
                                        <xsl:for-each select="document('GCdropDownValues.xml')/lookups/Campus/row">
                                            <xsl:element name="option">
                                                <xsl:attribute name="value">
                                                    <xsl:value-of select="name" />
                                                </xsl:attribute>
                                                <xsl:if test="normalize-space(value)=$Campus">
                                                    <xsl:attribute name="selected">selected</xsl:attribute>
                                                </xsl:if>
                                                <xsl:value-of select="value" />
                                            </xsl:element>
                                        </xsl:for-each>
                                    </xsl:element>
                                </td>
                            </tr>
                            <tr>
                                <td class="bolded">Term:</td>
                                <td class="bolded">
                                    <xsl:variable name="Term">
                                        <xsl:value-of select="normalize-space(/page/userData/hdnTerm)"/>
                                    </xsl:variable>
                                    <xsl:element name="input">
                                        <xsl:attribute name="name">hdnTerm</xsl:attribute>
                                        <xsl:attribute name="id">hdnTerm</xsl:attribute>
                                        <xsl:attribute name="type">hidden</xsl:attribute>
                                        <xsl:attribute name="value">
                                            <xsl:value-of select="/page/userData/hdnTerm"/>
                                        </xsl:attribute>
                                    </xsl:element>
                                    <xsl:element name="select">
                                        <xsl:attribute name="name">ddlTerm</xsl:attribute>
                                        <xsl:attribute name="id">ddlTerm</xsl:attribute>
                                        <xsl:attribute name="onchange">hdnTerm.value = this.value</xsl:attribute>
                                        <xsl:for-each select="document('GCdropDownValues.xml')/lookups/Term/row">
                                            <xsl:element name="option">
                                                <xsl:attribute name="value">
                                                    <xsl:value-of select="value" />
                                                </xsl:attribute>
                                                <xsl:if test="normalize-space(value)=$Term">
                                                    <xsl:attribute name="selected">selected</xsl:attribute>
                                                </xsl:if>
                                                <xsl:value-of select="value" />
                                            </xsl:element>
                                        </xsl:for-each>
                                    </xsl:element>
                                </td>
                            </tr>
                            <tr>
                                <td class="bolded">Course:</td>
                                <td class="bolded">
                                    <xsl:variable name="Course">
                                        <xsl:value-of select="normalize-space(/page/userData/hdnCourse)"/>
                                    </xsl:variable>
                                    <xsl:element name="input">
                                        <xsl:attribute name="name">hdnCourse</xsl:attribute>
                                        <xsl:attribute name="id">hdnCourse</xsl:attribute>
                                        <xsl:attribute name="type">hidden</xsl:attribute>
                                        <xsl:attribute name="value">
                                            <xsl:value-of select="/page/userData/hdnCourse"/>
                                        </xsl:attribute>
                                    </xsl:element>
                                    <xsl:element name="select">
                                        <xsl:attribute name="name">ddlCourse</xsl:attribute>
                                        <xsl:attribute name="id">ddlCourse</xsl:attribute>
                                        <xsl:attribute name="onchange">hdnCourse.value = this.value</xsl:attribute>
                                        <xsl:for-each select="document('GCdropDownValues.xml')/lookups/Course/row">
                                            <xsl:element name="option">
                                                <xsl:attribute name="value">
                                                    <xsl:value-of select="value" />
                                                </xsl:attribute>
                                                <xsl:if test="normalize-space(value)=$Course">
                                                    <xsl:attribute name="selected">selected</xsl:attribute>
                                                </xsl:if>
                                                <xsl:value-of select="value" />
                                            </xsl:element>
                                        </xsl:for-each>
                                    </xsl:element>
                                </td>
                            </tr>
                            <tr>
                                <td class="bolded">Student:</td>
                                <td class="bolded">
                                    <xsl:variable name="Student">
                                        <xsl:value-of select="normalize-space(/page/userData/hdnStudent)"/>
                                    </xsl:variable>
                                    <xsl:element name="input">
                                        <xsl:attribute name="name">hdnStudent</xsl:attribute>
                                        <xsl:attribute name="id">hdnStudent</xsl:attribute>
                                        <xsl:attribute name="type">hidden</xsl:attribute>
                                        <xsl:attribute name="value">
                                            <xsl:value-of select="/page/userData/hdnStudent"/>
                                        </xsl:attribute>
                                    </xsl:element>
                                    <xsl:element name="select">
                                        <xsl:attribute name="name">ddlStudent</xsl:attribute>
                                        <xsl:attribute name="id">ddlStudent</xsl:attribute>
                                        <xsl:attribute name="onchange">hdnStudent.value = this.value</xsl:attribute>
                                        <xsl:for-each select="document('GCdropDownValues.xml')/lookups/Student/row">
                                            <xsl:element name="option">
                                                <xsl:attribute name="value">
                                                    <xsl:value-of select="value" />
                                                </xsl:attribute>
                                                <xsl:if test="normalize-space(value)=$Student">
                                                    <xsl:attribute name="selected">selected</xsl:attribute>
                                                </xsl:if>
                                                <xsl:value-of select="value" />
                                            </xsl:element>
                                        </xsl:for-each>
                                    </xsl:element>
                                </td>
                            </tr>
                            <tr>
                                <td class="bolded">New Grade:</td>
                                <td>
                                    <xsl:variable name="NewGrade">
                                        <xsl:value-of select="normalize-space(/page/userData/hdnNewGrade)"/>
                                    </xsl:variable>
                                    <xsl:element name="input">
                                        <xsl:attribute name="name">hdnNewGrade</xsl:attribute>
                                        <xsl:attribute name="id">hdnNewGrade</xsl:attribute>
                                        <xsl:attribute name="type">hidden</xsl:attribute>
                                        <xsl:attribute name="value">
                                            <xsl:value-of select="/page/userData/hdnNewGrade"/>
                                        </xsl:attribute>
                                    </xsl:element>
                                    <xsl:element name="select">
                                        <xsl:attribute name="name">ddlNewGrade</xsl:attribute>
                                        <xsl:attribute name="id">ddlNewGrade</xsl:attribute>
                                        <xsl:attribute name="onchange">hdnNewGrade.value = this.value</xsl:attribute>
                                        <xsl:for-each select="document('GCdropDownValues.xml')/lookups/NewGrade/row">
                                            <xsl:element name="option">
                                                <xsl:attribute name="value">
                                                    <xsl:value-of select="value" />
                                                </xsl:attribute>
                                                <xsl:if test="normalize-space(value)=$NewGrade">
                                                    <xsl:attribute name="selected">selected</xsl:attribute>
                                                </xsl:if>
                                                <xsl:value-of select="value" />
                                            </xsl:element>
                                        </xsl:for-each>
                                    </xsl:element>
                                </td>
                            </tr>
                            <tr>
                                <td class="bolded">Previous Grade:</td>
                                <td>
                                    <xsl:variable name="PreviousGrade">
                                        <xsl:value-of select="normalize-space(/page/userData/hdnPreviousGrade)"/>
                                    </xsl:variable>
                                    <xsl:element name="input">
                                        <xsl:attribute name="name">hdnPreviousGrade</xsl:attribute>
                                        <xsl:attribute name="id">hdnPreviousGrade</xsl:attribute>
                                        <xsl:attribute name="type">hidden</xsl:attribute>
                                        <xsl:attribute name="value">
                                            <xsl:value-of select="/page/userData/hdnPreviousGrade"/>
                                        </xsl:attribute>
                                    </xsl:element>
                                    <xsl:element name="select">
                                        <xsl:attribute name="name">ddlPreviousGrade</xsl:attribute>
                                        <xsl:attribute name="id">ddlPreviousGrade</xsl:attribute>
                                        <xsl:attribute name="onchange">hdnPreviousGrade.value = this.value</xsl:attribute>
                                        <xsl:for-each select="document('GCdropDownValues.xml')/lookups/PreviousGrade/row">
                                            <xsl:element name="option">
                                                <xsl:attribute name="value">
                                                    <xsl:value-of select="value" />
                                                </xsl:attribute>
                                                <xsl:if test="normalize-space(value)=$PreviousGrade">
                                                    <xsl:attribute name="selected">selected</xsl:attribute>
                                                </xsl:if>
                                                <xsl:value-of select="value" />
                                            </xsl:element>
                                        </xsl:for-each>
                                    </xsl:element>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div style="clear: both; padding-top: 10px;"></div>        
                </form>
            </body>
        </html>
    </xsl:template>
</xsl:stylesheet>
